.class public Lcom/jecelyin/common/widget/dialog/b;
.super Lcom/jecelyin/common/widget/dialog/a$c;
.source "RadioCustomDialog.java"


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/jecelyin/common/widget/dialog/a$c;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method public a(Lcom/jecelyin/common/widget/dialog/a$d;)Lcom/jecelyin/common/widget/dialog/a$c;
    .locals 0

    .line 1
    invoke-super {p0, p1}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Lcom/jecelyin/common/widget/dialog/a$d;)Lcom/jecelyin/common/widget/dialog/a$c;

    return-object p0
.end method

.method public a(II)Lcom/jecelyin/common/widget/dialog/b;
    .locals 1
    .param p1    # I
        .annotation build Landroidx/annotation/ArrayRes;
        .end annotation
    .end param

    .line 10
    iget-object v0, p0, Lcom/jecelyin/common/widget/dialog/a$c;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, p1, p2}, Lcom/jecelyin/common/widget/dialog/b;->a([Ljava/lang/CharSequence;I)Lcom/jecelyin/common/widget/dialog/b;

    return-object p0
.end method

.method public a([Ljava/lang/CharSequence;I)Lcom/jecelyin/common/widget/dialog/b;
    .locals 4

    if-nez p1, :cond_0

    return-object p0

    .line 2
    :cond_0
    invoke-virtual {p0, p2}, Lcom/jecelyin/common/widget/dialog/a$c;->e(I)Lcom/jecelyin/common/widget/dialog/a$c;

    .line 3
    const-class p2, Lcom/jecelyin/common/widget/dialog/vh/RadioBtnViewHolder;

    invoke-virtual {p0, p2}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Ljava/lang/Class;)I

    move-result p2

    .line 4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x0

    .line 5
    :goto_0
    array-length v2, p1

    if-ge v1, v2, :cond_1

    .line 6
    new-instance v2, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;

    invoke-direct {v2, p2}, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;-><init>(I)V

    .line 7
    aget-object v3, p1, v1

    iput-object v3, v2, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;->b:Ljava/lang/CharSequence;

    .line 8
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 9
    :cond_1
    invoke-virtual {p0, v0}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Ljava/util/List;)Lcom/jecelyin/common/widget/dialog/a$c;

    return-object p0
.end method

.method public a([Ljava/lang/Object;I)Lcom/jecelyin/common/widget/dialog/b;
    .locals 4

    if-nez p1, :cond_0

    return-object p0

    .line 11
    :cond_0
    invoke-virtual {p0, p2}, Lcom/jecelyin/common/widget/dialog/a$c;->e(I)Lcom/jecelyin/common/widget/dialog/a$c;

    .line 12
    const-class p2, Lcom/jecelyin/common/widget/dialog/vh/RadioBtnViewHolder;

    invoke-virtual {p0, p2}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Ljava/lang/Class;)I

    move-result p2

    .line 13
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x0

    .line 14
    :goto_0
    array-length v2, p1

    if-ge v1, v2, :cond_1

    .line 15
    new-instance v2, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;

    invoke-direct {v2, p2}, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;-><init>(I)V

    .line 16
    aget-object v3, p1, v1

    iput-object v3, v2, Lcom/jecelyin/common/widget/dialog/DialogListAdapter$b;->d:Ljava/lang/Object;

    .line 17
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 18
    :cond_1
    invoke-virtual {p0, v0}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Ljava/util/List;)Lcom/jecelyin/common/widget/dialog/a$c;

    return-object p0
.end method
